export interface IndexType<T> {
    [index: string]: T;
}

export interface Dependencies {
    devDependencies: {
        [index: string]: string;
    };
    dependencies: {
        [index: string]: string;
    };
}

export interface MoveModuleDependenciesProps {
    dependencies: Dependencies;
    movePath: Array<{ origin: string; dest: string }>;
    coverIgnore: {
        file: Array<string>;
    };
}

export type PackageJSON = {
    [key in keyof Dependencies]?: Dependencies[key];
} & { scripts?: IndexType<string> };
